package com.example.a2209_mianshi.ui.main.mine


import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.a2209_mianshi.R
import com.example.a2209_mianshi.base.BaseFragment
import com.example.a2209_mianshi.databinding.FragmentMineBinding
import com.example.a2209_mianshi.ui.login.LoginActivity
import com.example.a2209_mianshi.ui.main.viewModel.MainViewModel
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject

@AndroidEntryPoint
class MineFragment @Inject constructor() : BaseFragment<MainViewModel, FragmentMineBinding>() {
    override val mLayoutResId: Int
        get() = R.layout.fragment_mine

    override fun initListener() {
//        super.initListener()
        mBinding.btnLog.setOnClickListener {
            startActivity(Intent(requireContext(), LoginActivity::class.java))
        }
    }
}